Skip to main content
GET
/
v1
/
auth
/
me
[Tokens] Get current authenticated user
curl --request GET \
  --url https://api.onetsolutions.net/v1/auth/me \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "email": "jsmith@example.com",
  "name": "<string>",
  "is_staff": true,
  "permissions": {},
  "token_expires_at": "2023-11-07T05:31:56Z",
  "picture": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).

Response

Current user information and token expiration

id
string
required
email
string<email> | null
required
name
string | null
required
is_staff
boolean
required
permissions
object
required
token_expires_at
string<date-time>
required
picture
string | null